package cool.mtc.minghe.data.entity.sys.menu;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import cool.mtc.mybatis.plus.entity.BaseDO;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author 明河
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "sys_menu")
public class MenuDO extends BaseDO {

    private Long parentId;

    private String name;

    private String code;

    private String icon;

    private Integer level;

    private Integer orderIndex;

    @TableField(value = "is_link")
    private Boolean link;

    private String url;

    private String permission;

    @TableField(value = "is_display")
    private Boolean display;

    @TableField(value = "is_enabled")
    private Boolean enabled;
}
